package com.example.demo.mapper;

import com.example.demo.entity.RouteDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface RouteDetailMapper {
    @Select("SELECT * FROM route_detail WHERE route_id = #{routeId} ORDER BY sort")
    List<RouteDetail> selectByRouteId(Long routeId);
}
